package com.hnzq.cloud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hnzq.cloud.entity.FreType;
import com.hnzq.cloud.param.UpdateFreTypeParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jams
 * @since 2022-02-06
 */
public interface FreTypeService extends IService<FreType> {

    Boolean addFreType(String name);

    Boolean deleteFreType(Integer id);

    List<FreType> findAllFreTypes();

    Boolean updateFreType(UpdateFreTypeParam updateFreType);


}
